package cn.qf.shop.mapper;

import cn.qf.shop.pojo.entity.Community;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface CommunityMapper {
    int add(@Param("community") Community community);
    int del(int id);
    int update(@Param("community") Community community);
    List<Community> selectAll();
    List<Community> selectByTime(@Param("beginDate")Date beginDate, @Param("endDate")Date endDate);
}
